Test Results - sandbox_common_test

All Test Modules | GitHub Repository | Coverage Reports Designed for use with JUnit.

Summary

99.2%
Tests Failures Errors Skipped Success rate Time
250 0 0 2 99.20% 6.082
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Skipped Time(s) Time Stamp Host
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top


TestCase AstProcessorBuilder Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests Data Collection with ReferenceHolder

Name Status Type Time(s)
Collects nodes in ReferenceHolder ๐Ÿ”— Success 0.014
Accumulates data across multiple node types ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests Factory Methods

Name Status Type Time(s)
with(ReferenceHolder) creates builder ๐Ÿ”— Success 0.001
with(ReferenceHolder, Set) creates builder with custom node set ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests Fluent API Chaining

Name Status Type Time(s)
Multiple visitors can be chained ๐Ÿ”— Success 0.006
Builder returns itself for chaining ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onAssignment()

Name Status Type Time(s)
Finds assignments ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onEnhancedForStatement()

Name Status Type Time(s)
Finds enhanced for loops ๐Ÿ”— Success 0.001
Provides access to loop variable ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onIfStatement()

Name Status Type Time(s)
Finds if statements ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onMethodDeclaration()

Name Status Type Time(s)
Finds all method declarations ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onMethodInvocation()

Name Status Type Time(s)
Filters by method name ๐Ÿ”— Success 0.007
Finds all method invocations ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onReturnStatement()

Name Status Type Time(s)
Finds return statements ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onTypeDeclaration()

Name Status Type Time(s)
Finds type declarations ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onVariableDeclarationFragment()

Name Status Type Time(s)
Finds variable declarations ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests processor() Access

Name Status Type Time(s)
processor() provides access to underlying ASTProcessor ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase ExpressionHelper Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase ExpressionHelper Tests createNegatedExpression()

Name Status Type Time(s)
Negates simple name without parentheses ๐Ÿ”— Success 0.007
null AST throws exception ๐Ÿ”— Success 0.001
Negates infix expression with parentheses ๐Ÿ”— Success 0.001
null condition throws exception ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase ExpressionHelper Tests isIdentityMapping()

Name Status Type Time(s)
SimpleName not matching varName is not identity ๐Ÿ”— Success 0.000
SimpleName matching varName is identity ๐Ÿ”— Success 0.000
InfixExpression is not identity ๐Ÿ”— Success 0.004
null varName returns false ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase ExpressionHelper Tests isNegatedExpression()

Name Status Type Time(s)
SimpleName is not negated ๐Ÿ”— Success 0.001
PrefixExpression with MINUS is not negated ๐Ÿ”— Success 0.000
PrefixExpression with NOT is negated ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase ExpressionHelper Tests needsParentheses()

Name Status Type Time(s)
SimpleName does not need parentheses ๐Ÿ”— Success 0.000
InfixExpression needs parentheses ๐Ÿ”— Success 0.000
null input throws exception ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase ExpressionHelper Tests stripNegation()

Name Status Type Time(s)
Strips negation from PrefixExpression with NOT ๐Ÿ”— Success 0.004
Returns original if not negated ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests AnnotationVisitorBuilder Tests

Name Status Type Time(s)
Validation: processEach without compilationUnit should throw ๐Ÿ”— Success 0.007
Collect annotations using collect() method ๐Ÿ”— Success 0.019
Find @SuppressWarnings annotations (SingleMemberAnnotation) ๐Ÿ”— Success 0.017
Find @Override annotations ๐Ÿ”— Success 0.018
Find @Deprecated annotations by fully qualified name ๐Ÿ”— Success 0.016
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests FieldVisitorBuilder Tests

Name Status Type Time(s)
Validation: FieldVisitorBuilder requires both annotation and type ๐Ÿ”— Success 0.016
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests ImportVisitorBuilder Tests

Name Status Type Time(s)
Find static imports ๐Ÿ”— Success 0.021
Find regular imports ๐Ÿ”— Success 0.040
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests MethodCallVisitorBuilder Tests

Name Status Type Time(s)
Find single method call ๐Ÿ”— Success 0.022
Collect method calls using collect() ๐Ÿ”— Success 0.012
Find multiple method calls ๐Ÿ”— Success 0.023
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests Processing Control Tests

Name Status Type Time(s)
Early termination when processor returns false ๐Ÿ”— Success 0.012
Excluding processed nodes ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests ReferenceHolder Integration Tests

Name Status Type Time(s)
ReferenceHolder can be used to collect data ๐Ÿ”— Success 0.019
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest ReferenceHolder Correctness Tests

Name Status Type Time(s)
Multiple nodes are correctly stored in ReferenceHolder ๐Ÿ”— Success 0.018
ReferenceHolder is correctly populated in processEach and accessible afterwards ๐Ÿ”— Success 0.018
ReferenceHolder.get() returns null for non-existent key - edge case from PR #494 ๐Ÿ”— Success 0.015
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest collect() Tests

Name Status Type Time(s)
collect() gathers all found nodes ๐Ÿ”— Success 0.043
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forAnnotation() Tests

Name Status Type Time(s)
forAnnotation skips already processed nodes ๐Ÿ”— Success 0.026
forAnnotation finds MarkerAnnotation and populates ReferenceHolder correctly ๐Ÿ”— Success 0.019
forAnnotation with andImports also finds imports ๐Ÿ”— Success 0.012
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forField() Tests

Name Status Type Time(s)
forField with annotation finds FieldDeclaration ๐Ÿ”— Success 0.021
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forImport() Tests

Name Status Type Time(s)
forImport finds ImportDeclaration and populates ReferenceHolder correctly ๐Ÿ”— Success 0.014
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forMethodCalls() Tests

Name Status Type Time(s)
forMethodCalls with andStaticImports and andImportsOf ๐Ÿ”— Success 0.025
forMethodCalls finds MethodInvocation and populates ReferenceHolder correctly ๐Ÿ”— Success 0.025
Properties ยป

Back to top

TestCase LibStandardNames Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase LibStandardNames Tests Existing Method Constants

Name Status Type Time(s)
METHOD_DEFAULT_CHARSET is 'defaultCharset' ๐Ÿ”— Success 0.001
METHOD_GET_PROPERTY is 'getProperty' ๐Ÿ”— Success 0.001
METHOD_LINE_SEPARATOR is 'lineSeparator' ๐Ÿ”— Success 0.000
FIELD_UTF8 is 'UTF_8' ๐Ÿ”— Success 0.011
METHOD_TOSTRING is 'toString' ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase LibStandardNames Tests Fully Qualified Type Names

Name Status Type Time(s)
JAVA_LANG_DOUBLE is 'java.lang.Double' ๐Ÿ”— Success 0.000
JAVA_LANG_STRING is 'java.lang.String' ๐Ÿ”— Success 0.000
JAVA_LANG_MATH is 'java.lang.Math' ๐Ÿ”— Success 0.000
JAVA_LANG_LONG is 'java.lang.Long' ๐Ÿ”— Success 0.000
JAVA_LANG_INTEGER is 'java.lang.Integer' ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase LibStandardNames Tests Math Method Constants

Name Status Type Time(s)
METHOD_CONCAT is 'concat' ๐Ÿ”— Success 0.001
METHOD_SUM is 'sum' ๐Ÿ”— Success 0.001
METHOD_MIN is 'min' ๐Ÿ”— Success 0.000
METHOD_MAX is 'max' ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase LibStandardNames Tests Stream API Method Constants

Name Status Type Time(s)
METHOD_STREAM is 'stream' ๐Ÿ”— Success 0.000
METHOD_FOREACH is 'forEach' ๐Ÿ”— Success 0.007
METHOD_REDUCE is 'reduce' ๐Ÿ”— Success 0.001
METHOD_ANY_MATCH is 'anyMatch' ๐Ÿ”— Success 0.000
METHOD_NONE_MATCH is 'noneMatch' ๐Ÿ”— Success 0.001
METHOD_FILTER is 'filter' ๐Ÿ”— Success 0.000
METHOD_MAP is 'map' ๐Ÿ”— Success 0.000
METHOD_ALL_MATCH is 'allMatch' ๐Ÿ”— Success 0.001
METHOD_FOR_EACH_ORDERED is 'forEachOrdered' ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase NodeMatcher Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase NodeMatcher Tests Chaining and State Management

Name Status Type Time(s)
Chaining stops after first match ๐Ÿ”— Success 0.015
isHandled() returns true after match ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase NodeMatcher Tests Expression Type Matchers

Name Status Type Time(s)
ifPrefixIncrementOrDecrement matches decrement ๐Ÿ”— Success 0.011
ifPrefixExpression matches PrefixExpression ๐Ÿ”— Success 0.009
ifMethodInvocation matches MethodInvocation ๐Ÿ”— Success 0.009
ifSimpleName matches SimpleName ๐Ÿ”— Success 0.007
ifAssignmentWithOperator matches specific operator ๐Ÿ”— Success 0.007
ifPostfixIncrementOrDecrement matches increment ๐Ÿ”— Success 0.007
ifAssignment matches Assignment ๐Ÿ”— Success 0.007
ifMethodInvocationNamed matches by method name ๐Ÿ”— Success 0.014
ifPostfixExpression matches PostfixExpression ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase NodeMatcher Tests Factory Methods

Name Status Type Time(s)
isHandled() returns false initially ๐Ÿ”— Success 0.005
on() creates NodeMatcher instance ๐Ÿ”— Success 0.015
Properties ยป

Back to top

TestCase NodeMatcher Tests Generic Type Matchers

Name Status Type Time(s)
ifTypeMatching with predicate ๐Ÿ”— Success 0.009
ifType matches by class type ๐Ÿ”— Success 0.006
Properties ยป

Back to top

TestCase NodeMatcher Tests Statement Type Matchers

Name Status Type Time(s)
ifThrowStatement matches ThrowStatement ๐Ÿ”— Success 0.012
ifReturnStatement matches ReturnStatement ๐Ÿ”— Success 0.010
ifIfStatementWithElse matches if with else ๐Ÿ”— Success 0.006
ifVariableDeclaration matches VariableDeclarationStatement ๐Ÿ”— Success 0.004
ifContinueStatement matches ContinueStatement ๐Ÿ”— Success 0.008
ifIfStatement matches IfStatement ๐Ÿ”— Success 0.006
ifBlock matches Block ๐Ÿ”— Success 0.005
ifExpressionStatement matches ExpressionStatement ๐Ÿ”— Success 0.007
ifBreakStatement matches BreakStatement ๐Ÿ”— Success 0.003
ifVariableDeclarationMatching with predicate ๐Ÿ”— Success 0.006
ifIfStatementWithoutElse matches if without else ๐Ÿ”— Success 0.003
Properties ยป

Back to top

TestCase NodeMatcher Tests Terminal Operations

Name Status Type Time(s)
orElse does not execute when already handled ๐Ÿ”— Success 0.008
orElse executes when no matcher handled ๐Ÿ”— Success 0.005
orElseGet returns empty when already handled ๐Ÿ”— Success 0.005
orElseGet returns Optional when not handled ๐Ÿ”— Success 0.009
orElseDo executes runnable when not handled ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase NodeMatcher Tests Utility Methods

Name Status Type Time(s)
isControlFlowStatement returns true for throw ๐Ÿ”— Success 0.007
isControlFlowStatement returns true for continue ๐Ÿ”— Success 0.009
getExpression returns Optional with expression ๐Ÿ”— Success 0.008
getAssignment returns empty for non-assignment ๐Ÿ”— Success 0.007
getAssignment returns Optional with assignment ๐Ÿ”— Success 0.010
isAssignmentStatement returns false for non-assignment ๐Ÿ”— Success 0.010
isControlFlowStatement returns true for return ๐Ÿ”— Success 0.006
isAssignmentStatement returns true for assignment ๐Ÿ”— Success 0.005
isControlFlowStatement returns true for break ๐Ÿ”— Success 0.006
isControlFlowStatement returns false for variable declaration ๐Ÿ”— Success 0.004
getExpression returns empty for non-expression statement ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase StatementContext Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase StatementContext Tests Conditional Helpers

Name Status Type Time(s)
ifFirst executes for first statement ๐Ÿ”— Success 0.041
ifLast executes for last statement ๐Ÿ”— Success 0.013
ifNotLast executes for non-last statement ๐Ÿ”— Success 0.006
ifLast does not execute for non-last statement ๐Ÿ”— Success 0.005
ifOnly executes for only statement ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase StatementContext Tests Edge Cases

Name Status Type Time(s)
Context chaining with ifLast ๐Ÿ”— Success 0.011
getRemainingCount is zero for last statement ๐Ÿ”— Success 0.012
Single statement is first, last, and only ๐Ÿ”— Success 0.008
Properties ยป

Back to top

TestCase StatementContext Tests Factory Methods

Name Status Type Time(s)
processBlock allows early termination ๐Ÿ”— Success 0.012
forSingle creates context for single statement ๐Ÿ”— Success 0.011
forEachInBlock processes all statements ๐Ÿ”— Success 0.011
processBlock returns empty when no match ๐Ÿ”— Success 0.011
forStatement creates context with position info ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase StatementContext Tests List Operations

Name Status Type Time(s)
getRemainingStatements returns empty for last statement ๐Ÿ”— Success 0.011
getPrecedingStatements returns statements before current ๐Ÿ”— Success 0.012
getRemainingStatements returns statements after current ๐Ÿ”— Success 0.021
getPrecedingStatements returns empty for first statement ๐Ÿ”— Success 0.020
Properties ยป

Back to top

TestCase StatementContext Tests Matcher Integration

Name Status Type Time(s)
nextIs returns true for matching type ๐Ÿ”— Success 0.017
nextIs with predicate returns true when both match ๐Ÿ”— Success 0.049
nextMatches returns true when predicate matches ๐Ÿ”— Success 0.017
matcher returns NodeMatcher for statement ๐Ÿ”— Success 0.011
nextMatches returns false when predicate does not match ๐Ÿ”— Success 0.011
Properties ยป

Back to top

TestCase StatementContext Tests Navigation Methods

Name Status Type Time(s)
getNextStatement returns next statement ๐Ÿ”— Success 0.011
getPreviousStatement returns previous statement ๐Ÿ”— Success 0.010
getPreviousStatement returns empty for first statement ๐Ÿ”— Success 0.010
getStatementAt returns empty for out of bounds ๐Ÿ”— Success 0.012
getNextStatement returns empty for last statement ๐Ÿ”— Success 0.010
getStatementAt returns statement at negative offset ๐Ÿ”— Success 0.016
getStatementAt returns statement at positive offset ๐Ÿ”— Success 0.012
Properties ยป

Back to top

TestCase StatementContext Tests Position Queries

Name Status Type Time(s)
getRemainingCount returns correct count ๐Ÿ”— Success 0.021
isMiddle returns false for first statement ๐Ÿ”— Success 0.014
hasNext returns false for last statement ๐Ÿ”— Success 0.013
isOnly returns true for single statement ๐Ÿ”— Success 0.016
hasNext returns true when there are more statements ๐Ÿ”— Success 0.012
isLast returns true for last statement ๐Ÿ”— Success 0.007
isMiddle returns true for middle statement ๐Ÿ”— Success 0.011
isFirst returns false for non-first statement ๐Ÿ”— Success 0.007
isFirst returns true for first statement ๐Ÿ”— Success 0.009
hasPrevious returns true when there are previous statements ๐Ÿ”— Success 0.007
hasPrevious returns false for first statement ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase org.sandbox.jdt.internal.common.HelperVisitorFluentApiTest

Name Status Type Time(s)
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.TriggerPatternCleanupTest

Name Status Type Time(s)
testAnnotationPatternMatching ๐Ÿ”— Success 0.746
testNoMatchesForDifferentAnnotation ๐Ÿ”— Success 0.013
testAnnotationWithQualifiedType ๐Ÿ”— Success 0.012
testMultipleAnnotationMatches ๐Ÿ”— Success 0.015
testAnnotationWithPlaceholder ๐Ÿ”— Success 0.074
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.MultiPlaceholderTest

Name Status Type Time(s)
testMultiPlaceholderConsistencyCheck ๐Ÿ”— Success 0.005
testMultiPlaceholderMatchesZeroArguments ๐Ÿ”— Success 0.004
testMultiPlaceholderMatchesOneArgument ๐Ÿ”— Success 0.004
testMultiPlaceholderMatchesMultipleArguments ๐Ÿ”— Success 0.005
testMultiPlaceholderMatchesVariousArgumentTypes ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.NewPatternKindsTest

Name Status Type Time(s)
testSimpleField ๐Ÿ”— Success 0.011
testFieldWithPlaceholderType ๐Ÿ”— Success 0.006
testSimpleMarkerAnnotation ๐Ÿ”— Success 0.005
testSimpleMethodCall ๐Ÿ”— Success 0.017
testSimpleImport ๐Ÿ”— Success 0.009
testMultipleImports ๐Ÿ”— Success 0.007
testFieldWithAnnotation ๐Ÿ”— Success 0.011
testMultipleAnnotationsOnSameElement ๐Ÿ”— Success 0.003
testMethodCallWithMultipleArguments ๐Ÿ”— Success 0.002
testAnnotationWithParameters ๐Ÿ”— Success 0.003
testMethodCallWithPlaceholderQualifier ๐Ÿ”— Success 0.002
testStaticImport ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PatternParserTest

Name Status Type Time(s)
testParseSimpleExpression ๐Ÿ”— Success 0.002
testParsePlaceholderExpression ๐Ÿ”— Success 0.009
testParseMethodInvocation ๐Ÿ”— Success 0.008
testParseIfStatement ๐Ÿ”— Skipped
org.opentest4j.AssertionFailedError: Parser should return a non-null node ==> expected: not <null> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) at org.sandbox.jdt.triggerpattern.test.PatternParserTest.testParseIfStatement(PatternParserTest.java:73) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testParseReturnStatement ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PlaceholderMatcherTest

Name Status Type Time(s)
testNonPlaceholderMustMatchExactly ๐Ÿ”— Success 0.011
testMultipleSamePlaceholdersMustMatch ๐Ÿ”— Success 0.007
testDifferentPlaceholdersBindIndependently ๐Ÿ”— Success 0.006
testPlaceholderBinds ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest

Name Status Type Time(s)
testMultipleSamePlaceholder ๐Ÿ”— Success 0.018
testNoMatchesFound ๐Ÿ”— Success 0.010
testFindSingleMatch ๐Ÿ”— Success 0.007
testStatementPattern ๐Ÿ”— Skipped
org.opentest4j.AssertionFailedError: Should find one statement pattern match ==> expected: <1> but was: <0> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563) at org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest.testStatementPattern(TriggerPatternEngineTest.java:134) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testFindMultipleMatches ๐Ÿ”— Success 0.006
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ASTProcessorTest

Name Status Type Time(s)
testAncestorNavigation ๐Ÿ”— Success 0.030
testAssignmentByOperator ๐Ÿ”— Success 0.008
testHierarchicalSearch ๐Ÿ”— Success 0.005
testInfixExpressionByOperator ๐Ÿ”— Success 0.014
testMethodDeclarationByName ๐Ÿ”— Success 0.002
testSingleVisitor ๐Ÿ”— Success 0.001
testCatchClauseByExceptionType ๐Ÿ”— Success 0.027
testFieldDeclarationByType ๐Ÿ”— Success 0.028
testClassInstanceCreationWithTypeAndNavigate ๐Ÿ”— Success 0.001
testMethodInvocationFiltering ๐Ÿ”— Success 0.001
testTypeDeclarationByName ๐Ÿ”— Success 0.001
testSuperMethodInvocationByName ๐Ÿ”— Success 0.019
testBasicChaining ๐Ÿ”— Success 0.001
testForStatementWithTypeFilter ๐Ÿ”— Success 0.039
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.AdvancedVisitorPatternsTest

Name Status Type Time(s)
testCoordinatedMultiPhaseProcessing ๐Ÿ”— Success 0.014
testCombiningVisitorsWithOr ๐Ÿ”— Success 0.001
testCombiningVisitorsWithAnd ๐Ÿ”— Success 0.001
testDynamicVisitorRemoval ๐Ÿ”— Success 0.000
testTrackingProcessedNodes ๐Ÿ”— Success 0.001
testNegateFilter ๐Ÿ”— Success 0.001
testStatefulVisitorBehavior ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.BasicVisitorUsageTest

Name Status Type Time(s)
testMethodNameFiltering ๐Ÿ”— Success 0.007
testMethodNameFilteringTraditional ๐Ÿ”— Success 0.005
testTraditionalVisitorApproach ๐Ÿ”— Success 0.007
testLambdaExpression ๐Ÿ”— Success 0.001
testSkipChildNodes ๐Ÿ”— Success 0.000
testMultipleNodeTypes ๐Ÿ”— Success 0.001
testVisitEndCallback ๐Ÿ”— Success 0.005
testBasicMethodReference ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.MatcherTest

Name Status Type Time(s)
matcherTest ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ReferenceHolderTest

Name Status Type Time(s)
testCountingWithStaticMethod ๐Ÿ”— Success 0.016
testComplexDataStructures ๐Ÿ”— Success 0.008
testCollectingNodePositions ๐Ÿ”— Success 0.001
testCountingNodes ๐Ÿ”— Success 0.002
testLazyInitialization ๐Ÿ”— Success 0.005
testSharedDataBetweenCallbacks ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorApiDocumentationTest

Name Status Type Time(s)
testCallbackSignatures ๐Ÿ”— Success 0.004
testBasicUsagePattern ๐Ÿ”— Success 0.001
testVisitEndCallbacks ๐Ÿ”— Success 0.001
testApiOverview ๐Ÿ”— Success 0.002
testDataSharingPatterns ๐Ÿ”— Success 0.004
testStaticHelperMethods ๐Ÿ”— Success 0.001
testVisitorRegistration ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorTest

Name Status Type Time(s)
testNestedHierarchicalSearch ๐Ÿ”— Success 0.009
testFluentApiWithMethodFiltering ๐Ÿ”— Success 0.001
testMethodInvocationByType ๐Ÿ”— Success 0.002
testMultiPhaseProcessing ๐Ÿ”— Success 0.008
testSimpleFluentApi ๐Ÿ”— Success 0.006
testDynamicVisitorModification ๐Ÿ”— Success 0.001
testFluentApiWithNavigation ๐Ÿ”— Success 0.009
testComplexDataCollection ๐Ÿ”— Success 0.003
Properties ยป

Back to top

All Test Reports | Coverage Reports | GitHub Repository

Generated by Sandbox